function ListController($scope,dfg){

    $scope.orders=[];
    $scope.search={};

    var http=dfg.$HTTP;

    $scope.search.origin_gps_x="120.74585543271588";
    $scope.search.origin_gps_y="31.652735793372000";
    $scope.search.destination_gps_x="120.74485543271588";
    $scope.search.destination_gps_y="31.652735793372000";
    $scope.search.departure_time=1432276784091;
    $scope.search.available_carpool_num=1;
    $scope.search.luggage_limits=1;
    $scope.search.allow_free=0;
    $scope.search.gender=1;
    $scope.submit=function(){

        //http.get('/carpools/search',$scope.search,function(data){
        //    $scope.orders=data.rows;
        //    console.log($scope.orders);
        //});


        var param={};
        param.user_id=0;
        param.charge=0;
        param.qiangxian=0;
        param.shangyexian=0;
        param.zuoweixian=0;
        param.vehicle_fetch=0;
        param.vehicle_return=0;
        param.vehicle_address='asdasdasd';
        param.bill=0;
        param.date_start=12345678;
        param.date_end=12345679;
        param.vehicle=1;



        http.post('/orders/rental',param,function(json){

        });
    };
    //http.get("/orders/price",{},function(data){
    //    console.log(data);
    //});
}